/*
 * Cube.h
 *
 *  Created on: Aug 23, 2011
 *      Author: andreas
 */

#ifndef CUBE_H_
#define CUBE_H_

#include <GL/gl.h>

class Cube
{
public:
  Cube();
  Cube(GLfloat x, GLfloat y, GLfloat z);
  virtual ~Cube();

  void setPos(GLfloat x, GLfloat y, GLfloat z);

  void draw();

private:
  GLfloat r_;
  GLfloat x_;
  GLfloat y_;
  GLfloat z_;
  GLfloat xrot_;
  GLfloat yrot_;
  GLfloat zrot_;
  GLfloat red_;
  GLfloat green_;
  GLfloat blue_;
};

#endif /* CUBE_H_ */
